<template>
  <div class="swiperbox">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/2.webp" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/lun1.png" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/lun1.png" alt=""
      /></van-swipe-item>
      <van-swipe-item
        ><img src="../../../../../public/xiaxia/imgs/2.webp" alt=""
      /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "ActiveHead",
};
</script>


<style scoped>
.swiperbox {
  height: 100%;
  overflow: hidden;
}
.my-swipe {
  width: 100%;
  width: 100%;
}
.my-swipe > van-swipe-item {
  width: 100%;
  height:100%;                                                                                                            
}
/deep/.van-swipe__track {
  display: flex;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  height: 2.28rem;
  text-align: center;
  width: 100%;
  /* background-color: #39a9ed; */
}
.van-swipe-item > img {
  height: 2.28rem;
  width: 3.75rem;
}

</style>